package com.mytools.common.example.threadPool.reject;

import com.mytools.common.example.threadPool.MyThreadPool;

/**
 * @author LJK
 * @description
 * @date 2025/1/30
 */
public class DiscardPolicy implements RejectHandler{
    @Override
    public void reject(Runnable rejectCommand, MyThreadPool myThreadPool) {
        System.out.println("丢弃了最新任务，不做其他处理");
    }
}
